Add debugging facility for the newline cache.
authorEli Zaretskii <eliz@gnu.org>
Tue, 22 Apr 2014 17:37:35 +0000 (20:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 22 Apr 2014 17:37:35 +0000 (20:37 +0300)
commita36a23043abd6be7016051d5b8b91863b07f9673
tree20bfcf4a5b27dbf970cc7480387ac5cf375c58ad
parentd97699905d826a09a25f4d0fa88232f2d2b08300
Add debugging facility for the newline cache.
See the discussion in
http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00295.html
for more detail.

 src/search.c (find_newline1): New subroutine.
 (Fnewline_cache_check): New function.
 (syms_of_search): Defsubr it.
src/ChangeLog
src/search.c